﻿//双击事件
function CustomDbClick() {
    parent.closeWin(); //去掉双击功能

}

//添加信息
var fnCustomAdd = function () {
    var postID = getPar1("postID");
    var postName = getPar1("postName");
    var action = getPar1("action");
    var strEntity = getPar1("strEntity");
    var pagetitle = postName + "_选择技能要求";
    document.getElementById("dialog1_h").innerHTML = pagetitle;
    var url = "../Extend/YUIDataTableList.aspx?entity=V_datSkillLevel&order=SkillName,[level],SkillLevel&functionID=01e63717-1778-4613-88c0-1e1f3ced5ec8" + "&postID=" + postID + "&postName=" + postName + "&action=" + action + "&strEntity=" + strEntity;
    parent._employeeTitle = pagetitle;
    parent.addTabs(pagetitle, url);

}

//修改
var fnCustomEdit = function () {
    alert("请直接点击【新增】选择技能要求！");
    return;
}

//隐藏列
function customFnHideCol() {
    //debugger;
    //myDataTable.hideColumn(parseInt(1));
    myDataTable.hideColumn(parseInt(2));
    myDataTable.refreshView();
};

//初始化
if (typeof ($) != "undefined") {
    //debugger;
    $(document).ready(function () {

    });
}


